home *** CD-ROM | disk | FTP | other *** search
/ Sun Solutions 2000 #2 / Sun Solutions CD (Volume 2 2000)(Special Focus - Java Technologies)(Disc 1).ISO / products / Software / BostonBusinessComputing / bbc / vclps < prev    next >
Text File  |  2000-02-11  |  729b  |  27 lines

  1. : vclps - /bin/sh wrapper for VCL show commands calling ps
  2. :
  3. : Edit History
  4. : $Log: vclps.prod,v $
  5. : Revision 1.3  1995/08/14 14:49:08  cgf
  6. : Strange problems caused by STDERR redirection on SCO.
  7. :
  8. : Revision 1.2  1995/08/14  14:36:39  cgf
  9. : Need ';;' even after last case on some systems like SCO.
  10. :
  11. : Revision 1.1  1995/08/14  14:24:22  cgf
  12. : Some BSD systems reject hyphens before ps args.
  13. :
  14. : Revision 1.0  1991/02/08  15:46:25  cpl
  15. : Initial source code revision.
  16.  
  17. case $1 in
  18.     SYSTEM)
  19.     (exec ps aux 2>/dev/null) || ps -ef ||\
  20.     echo    "%VCL-W-NO_UNIX, not available under this version of UNIX"
  21.     ;;
  22.     STATUS)
  23.     (exec ps lx 2>/dev/null) || ps -f ||\
  24.     echo    "%VCL-W-NO_UNIX, not available under this version of UNIX"
  25.     ;;
  26. esac
  27.